GUI Help > Create > createTrackbar

createTrackbar
int handle=createTrackbar(int x, int y, int width, int height, int orientation, handle parent)

Description:
Creates a trackbar. Trackbar controls are similar to scrollbars except they have a pointer rather than a thumb, and at the side of the trackbar are a series of markers like a grid scale. Trackbars are the gadgets found in the Windows Sound Volume program.

Return Value:
Handle to the new gadget.

Parameters:
x X position of new gadget
y Y position of new gadget
width Width of new gadget in pixels
height Height of new gadget in pixels
orientation If 0, the trackbar is horizontal. If 1, the trackbar is vertical. ???? - Check this
parent Handle to the parent of the new gadget, or 0 for the main window
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)